<?php
require_once("./includes/config.inc.php");
$subjectId = $_REQUEST['subjectId'];


$listPaging = $_REQUEST['listPaging'];
if($page == '') { $page = 1; }
if($pagegroup == '') { $pagegroup = 1; }
if(trim($listPaging) == '') { $listPaging = 20; }

$sqlPL = " select * from tbl_exam "; // where subjectId = '$subjectId' 
$sqlPL.=" order by id desc ";

$resE = executeQuery(dopaging($sqlPL,$listPaging));

?>